﻿<ValueConversion(GetType(Boolean), GetType(Boolean))> _
Public Class InverseBooleanConverter
    Implements IValueConverter

#Region "IValueConverter Members"
    Public Function Convert(value As Object, targetType As Type, parameter As Object, culture As System.Globalization.CultureInfo) As Object Implements IValueConverter.Convert
        Return Not CBool(value)
    End Function

    Public Function ConvertBack(value As Object, targetType As Type, parameter As Object, culture As System.Globalization.CultureInfo) As Object Implements IValueConverter.ConvertBack
        Return Not CBool(value)
    End Function
#End Region
End Class